package io.github.wangtisnruipopo.carscore.types;

public abstract class AbsPlayCardsType<C extends AbsSimpleCard<?, ?>> implements IPlayCardsType<C> {

    @Override
    public int compareTo(IPlayCardsType<C> o) {
        if (o == null) return 1;
        if (o.getType() == this.getType()) return 0;
        return -1;
    }
}
